
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>
<%@page import="Model.ListWord"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>eWiki</title>
        <link rel="stylesheet" media="screen" type="text/css" title="Design" href="../design.css"/>
    </head>
    <body>
        <div class="entete">
                <div id="location">
                    View
                </div>
                <div id="logo">
                    eWiki
                </div>
            <div id="info">
                <%=new SimpleDateFormat("dd/MM/yyyy").format(new Date()) %>
                 at : <%=new SimpleDateFormat("HH:mm:ss").format(new Date()) %>
            </div>
        </div>
        <div id="menu">
            <table>
            <tr>
                <td>
                    <form action="Home" method="POST">
                        <input type="submit" value="Home" class="bouton"/>
                    </form>
                </td>
                <!--
                <td>
                    <form action="View" method="POST">
                        <input type="submit" value="View" class="bouton"/>
                    </form>
                </td>
                -->
                <td>
                    <form action="Edit" method="POST">
                        <input type="submit" value="Edit" class="bouton"/>
                    </form>
                </td>
                <td>
                    <form action="History" method="POST">
                        <input type="submit" value="History" class="bouton"/>
                    </form>
                </td>
            </tr>
            </table>
        </div>
        <div id="sidebar">
            SideBar
        </div>
        <div id="page">
            <div id="entete">
                <h1><html:outputText value="#{listWord.word}" /></h1>
            </div>
            <div>
                <html:outputText escape="false" value="#{listWord.html}" />
            </div>
        </div>
    </body>
</html>